﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lcygcc.Infrastructure.Core
{
    /// <summary>
    /// 请求参数
    /// </summary>
    public class RequestArgs
    {
        /// <summary>
        /// 任务名称
        /// </summary>
        public string ServiceName { get; set; }
        /// <summary>
        /// 任务编码
        /// </summary>
        public string ServiceID { get; set; }

        /// <summary>
        /// 定时表达式
        /// </summary>
        public string Cron { get; set; }

        /// <summary>
        /// 转化方法
        /// </summary>
        public string AdapterMethod { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 任务类型
        /// </summary>
        public int TaskType { get; set; }

        /// <summary>
        /// 执行时间
        /// </summary>
        public DateTime ExcuteTime { get; set; }
    }
}
